package Abstract.TuXing;

public  class Circle extends Shape{

    public Circle(double r) {
        this.r=r;
    }

    @Override
    public double getArea() {
        return Math.PI*Math.pow(r,2);
    }
}
